# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=py3-duviz
pkgver=3.1.0
pkgrel=2
pkgdesc="A command-line tool to visualize disk space usage."
url="https://github.com/soxofaan/duviz"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/soxofaan/duviz/archive/v$pkgver.tar.gz"
builddir="$srcdir/duviz-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest -v
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="58b2256154640658de6dd1c12ebd77c46adc1cc62cc397412d416171dd71c98123b39c801edfd53a01b492a0542acf23037005cf764bd71d7811a40a0175992f  py3-duviz-3.1.0.tar.gz"
